package test

import scala.collection.mutable.ArrayBuffer

object Arr2 {
  def main(args: Array[String]): Unit = {
    var a2=ArrayBuffer[Int]();//动态数组
    for(i:Int<-1 to 200){
      a2.append(i*10);
    }
    println(a2.length)
    a2.foreach(x=>{
      print(x+"\t")
    })
  }
}
